package com.demo.mapper;

import com.demo.po.ApplicationPo;

import java.sql.SQLException;
import java.util.List;

/**
 * ApplicationMapper.java
 **/

public interface ApplicationMapper extends ISqlMapper {

    public int countApplications(ApplicationPo cond) throws SQLException;

    public List<ApplicationPo> findApplicationsByPage(ApplicationPo cond) throws SQLException;

    public List<ApplicationPo> findAllApplications(ApplicationPo cond) throws SQLException;

    public ApplicationPo getApplication(Integer applicationid) throws SQLException;

    public Integer addApplication(ApplicationPo obj) throws SQLException;

    public int updateApplication(ApplicationPo obj) throws SQLException;

    public int updateApplicationByIdx(ApplicationPo obj) throws SQLException;

    public int deleteApplication(Integer applicationid) throws SQLException;

}
